import type { VabRouteRecordRaw } from '../types'
import Layout from '/@vab/layouts/index.vue'
const productRouter: VabRouteRecordRaw[] = [
  {
    path: '/product',
    name: 'Product',
    component: Layout,
    meta: {
      title: '产品管理',
      icon: 'product-hunt-line',
    },
    children: [
     
      {
        path: 'priceInfo',
        name: 'ProductPriceInfo',
        component: () => import('/@/views/productIndex/priceInfo.vue'),
        meta: {
          title: '产品价格查询',
          noKeepAlive: true,
        },
      },
      {
        path: 'attribute',
        name: 'ProductAttribute',
        component: () => import('/@/views/productIndex/attribute.vue'),
        meta: {
          title: '产品属性',
          hidden: true,
          tabHidden: true,
          noKeepAlive: true,
        },
      },
      {
        path: 'standardPrice',
        name: 'ProductStandardPrice',
        component: () => import('/@/views/productIndex/standardPrice.vue'),
        meta: {
          title: '标准价目表',
          noKeepAlive: true,
        },
      },
       {
        path: 'lowPrice',
        name: 'ProductLowPrice',
        component: () => import('/@/views/productIndex/lowPrice.vue'),
        meta: {
          title: '底价价目表',
          noKeepAlive: true,
        },
      },
      {
        path: 'detail',
        name: 'ProductDetail',
        component: () => import('/@/views/productIndex/detail.vue'),
        meta: {
          title: '产品明细',
          hidden: true,
          tabHidden: true,
          noKeepAlive: true,
        },
      },
      {
        path: 'info',
        name: 'ProductInfo',
        component: () => import('/@/views/productIndex/info.vue'),
        meta: {
          title: '产品查询',
          noKeepAlive: true,
        },
      },
    ],
  },
]

export default productRouter
